One assert to rule them all

What’s wrong with Assert.X Quick – what is the different between the following two lines: Assert.IsTrue(result == expected);Assert.AreEqual(expected, result); Essentially both Asserts check for the same condition, in practice once fail we get very different error messages: While this example is easy to understand – when facing less than trivial test it can be downright … Continue reading One assert to rule them all